<?php defined('SYSPATH') OR die('No direct access allowed.');
/**
  * Licence Agreement
*/

/**
  * User Controller
*/
abstract class Controller_Template_Default extends Controller_Template {
  /**
   * Holds sessions instance
   *
   * @var Session
   */
  protected $session;

  /**
   * "Before" Function
   *
   * Assigns template from config file and creates session instance
   *
   */
  public function before() {
    $this->template = Kohana::config('template.template_default');
    $this->session = Session::instance(Kohana::config('session.default.storage'));
    //$this->session = Session::instance('native');
    parent::before();
  }
}